﻿<!--
	@create by 
	@update by  zhuminru
	@description 
-->
<div>
	<el-form-q :field-data="queryFields" :buttons="queryButtons"></el-form-q>  <!-- title="查询条件" -->
  <div class="yu-toolBar">
	  <el-button-group>
		  <!--<el-button icon="yx-file-excel" @click="printFn"  v-if="checkPermission('print')">打印预览</el-button> -->
		  <el-button icon="document" @click="infoFn" v-if="checkPermission('detail')">查看</el-button>
		  <el-button icon="yx-file-excel" @click="exportFn" v-if="checkPermission('export')">下载</el-button>
	  </el-button-group>
  </div>
  <el-table-x ref="reftable" :row-index="true" :base-params="baseParams"
        :data-url="dataUrl" :table-columns="tableColumns" :request-type="'POST'"></el-table-x>

  <!-- 说明dialog可配置宽高属性，若不配置则宽度默认为屏幕50%，高度自适应width="650px" height="380px" -->
     
     <el-dialog-x :title="viewTitle[viewType]" :visible.sync="dialogVisible" size="full">
	    <el-tabs type="border-card" v-model="tabName">
		     <el-tab-pane label="检查登记信息" name="basicTab">
		     	<el-collapse v-model="expandCollapseName">
		             <el-collapse-item title="基本信息" name="a">
		                   <el-form-x ref="reform"   :group-fields="updateFields"   :disabled="formDisabled" label-width="135px"></el-form-x>
		             </el-collapse-item>
		           <el-collapse-item title="登记信息" name="b">
		                 <el-form-x ref="bform"  :group-fields="updateOrgFields"  :disabled="formDisabled" label-width="135px"></el-form-x>
		           </el-collapse-item>
			     </el-collapse>
<!-- 		         <div class="yu-grpButton"> -->
<!-- 		              <el-button icon=""  @click="cancleFn"  type="primary">关闭</el-button> -->
<!-- 		         </div> -->
		     </el-tab-pane>

			<el-tab-pane label="人行征信">
				<el-collapse v-model="zxExpandCollapseName" ref='basecollapse'>
					<el-collapse-item title="人行征信" name="cdpReitem">
						<el-table-x ref="cdpReftable" :row-index="true" :radiobox="false" :base-params="cdpReftableParams"
									:data-url="dataUrlcomm" :table-columns="cdpReftableColumns" :request-type="'POST'"></el-table-x>
					</el-collapse-item>
					<el-collapse-item title="征信报告" name="redititem">
						<div class="yu-toolBar">
							<el-button-group>
								<el-button icon="check" @click="getContentFn" >查看征信报告</el-button>
							</el-button-group>
						</div>
						<el-table-x ref="zxReftable" :row-index="true" :radiobox="false" :base-params="zxReftableParams"
									:data-url="dataUrlZx" :table-columns="zxReftableColumns" :request-type="'POST'"></el-table-x>
						<!-- <el-button type="primary" @click="getNewestCredit" icon="check">查看最新征信报告</el-button>
                         <el-button type="primary" @click="getHistoryCredit" icon="check">查看历史征信报告</el-button>-->
					</el-collapse-item>
				</el-collapse>
			</el-tab-pane>
	     </el-tabs>
		 <div class="yu-grpButton">
			 <el-button type="primary" @click="closeFn" icon="check">返回</el-button>
		 </div>
  	</el-dialog-x>
</div>
